The Source Control Integration API > The source control integration API optional functions > SCS_IsRemoteNewer()

 

SCS_IsRemoteNewer()

Description

Checks each specified remote path to see if the remote copy is newer. If unsupported by the source control system, Dreamweaver uses its internal isRemoteNewer algorithm.

Arguments

connectionData, remotePathList, localPathList, remoteIsNewerList, numItems

connectionData is a pointer to the agent's data that was passed into Dreamweaver during the Connect() call.
remotePathList is a list of fully qualified remote file or folder paths to compare for newer status.
localPathList is a mirrored list of fully qualified local file or folder paths.
remoteIsNewerList is a list of integers, populated by the DLL to let Dreamweaver know which of the corresponding files is newer on the remote side. The following values are valid: 1 indicates the remote version is newer, -1 indicates the local version is newer, 0 indicates the versions are the same.
numItems is the number of items in each list.

Returns

true if successful, false if not.